package com.jsmile.cloud.authc.api.res;

import com.jsmile.cloud.authc.api.enums.HelpTypeEnum;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class ResSysHelp {

    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "文档编码（用于唯一标识）")
    private String helpCode;
    @ApiModelProperty(value = "文档标题")
    private String helpTitle;
    @ApiModelProperty(value = "文档内容")
    private String helpContent;
    @ApiModelProperty(value = "文档地址")
    private String helpUrl;
    @ApiModelProperty(value = "文档类型")
    private String helpType;
    @ApiModelProperty(value = "是否可用 1是 0否")
    private Integer enable;
    @ApiModelProperty(value = "创建者")
    private String createBy;
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    @ApiModelProperty(value = "更新者")
    private String updateBy;
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "租户id")
    private Long tenantId;

    public String getHelpTypeName() {
        return HelpTypeEnum.nameOf(this.getHelpType());
    }
}
